#ifndef _IIC_H__
#define _IIC_H__

//unsigned char ucpcf_U;用来接收模拟信号的值,对数据/51才变成对应5V数据
//要注意单总线会影响双总线的数据读取，所以要在单总线读取温度之前实现双总线的读取
void I2CStart(void);
void I2CStop(void);
unsigned char I2CWaitAck(void);  
void I2CSendAck(unsigned char ackbit);
void I2CSendByte(unsigned char byt);
unsigned char I2CReceiveByte(void);
unsigned char PCF8591_Adc(void); 
void PCF8591_Dac(unsigned char dat); 

#endif